package com.example.gulimall.product.feign.callback;

import com.example.common.constant.BizCodeEnum;
import com.example.common.utils.R;
import com.example.gulimall.product.feign.SecKillFeignService;
import org.springframework.stereotype.Component;

/**
 * <p>
 *
 * </p>
 *
 * @author zyred
 * @since v 0.1
 **/
@Component
public class SecKillFeignServiceCallback implements SecKillFeignService {
    @Override
    public R getSkuInfo(Long skuId) {
        return R.error(BizCodeEnum.USER_EXIST_EXCEPTION.getMsg());
    }
}
